package cn.iocoder.yudao.module.system.controller.app.mail.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

@Data
public class SendMailVo {
    @Schema(description = "邮箱不能为空",requiredMode = Schema.RequiredMode.REQUIRED,example = "15878962356")
    @NotBlank(message = "邮箱不能为空")
    @Email
    private String email;
    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotEmpty(message = "手机号不能为空")
    private String mobile;
}
